package com.kwt.learn.map;

import java.util.LinkedHashMap;

public class LinkedHashMapLru {

    public static void main(String[] args) {
        LinkedHashMap<String, Integer> linkedHashMap = new LinkedHashMap<String, Integer>(12, 0.75f, true);
        linkedHashMap.put("k1", 1);
        linkedHashMap.put("k2", 2);
        linkedHashMap.put("k3", 3);
        linkedHashMap.put("k4", 4);
        linkedHashMap.get("k1");

        System.out.println(linkedHashMap);

    }
}
